package com.ai.aiagent.demo.invoke;

import dev.langchain4j.community.model.dashscope.QwenChatModel;
import dev.langchain4j.model.chat.ChatLanguageModel;

public class LangChainInvike {
    public static void main(String[] args) {
        ChatLanguageModel builder = QwenChatModel.builder().apiKey(TestApiKey.API_KEY).modelName("qwen-max").build();
        String awnswer = builder.chat("明天佛山天气");
        System.out.println(awnswer);
    }

}
